diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-10-07 21:24:43 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-10-07 21:24:43 +0000 |
| commit | 56c1e5aacaaec79b24453d406e7c2b218fa0cc9f (patch) | |
| tree | 87b5e478a4d9308837131434342fea357dc17b31 /PICA_client.h | |
| parent | 57d45923fc62be7d11ac20abba8618ca4b90bea4 (diff) | |
| download | pica-pica-56c1e5aacaaec79b24453d406e7c2b218fa0cc9f.tar.gz pica-pica-56c1e5aacaaec79b24453d406e7c2b218fa0cc9f.zip | |
update from database schema 1 to 2 with importing old accounts and converting them to the new id formats; implemented new function PICA_get_id_from_cert_string
git-svn-id: svn://localhost/project_picapica/trunk@276 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'PICA_client.h')
| -rwxr-xr-x | PICA_client.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/PICA_client.h b/PICA_client.h index 2e3b9d5..fc12aa1 100755 --- a/PICA_client.h +++ b/PICA_client.h @@ -169,7 +169,9 @@ extern "C" { #endif //read certificate from cert_file in PEM format, store id in buffer pointed by id -int PICA_get_id_from_cert_file(const char *cert_file, unsigned char *id); +int PICA_get_id_from_cert_file(const char *cert_file, unsigned char *id); +//read certificate from C string in PEM format, store id in buffer pointed by id +int PICA_get_id_from_cert_string(const char *cert_pem, unsigned char *id); int PICA_client_init(struct PICA_client_callbacks *clcbs); int PICA_new_connection |
