diff options
author | Aleksey Sanin <aleksey@src.gnome.org> | 2003-04-07 23:24:05 +0000 |
---|---|---|
committer | Aleksey Sanin <aleksey@src.gnome.org> | 2003-04-07 23:24:05 +0000 |
commit | 7b3479b7d903c80b8ccf17d50ea3957633ca3c2d (patch) | |
tree | 7e5a58c7d8d3fe67cef97da96b55414f9b90f034 /apps | |
parent | a3b864564de4ff55b8772039711f82ba855451cd (diff) | |
download | xmlsec1-7b3479b7d903c80b8ccf17d50ea3957633ca3c2d.tar.gz xmlsec1-7b3479b7d903c80b8ccf17d50ea3957633ca3c2d.tar.bz2 xmlsec1-7b3479b7d903c80b8ccf17d50ea3957633ca3c2d.zip |
added der keys support
Diffstat (limited to 'apps')
-rw-r--r-- | apps/crypto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/crypto.c b/apps/crypto.c index 4d5c13a8..4b11cd7c 100644 --- a/apps/crypto.c +++ b/apps/crypto.c @@ -103,8 +103,8 @@ xmlSecAppCryptoSimpleKeysMngrCertLoad(xmlSecKeysMngrPtr mngr, const char *filena int xmlSecAppCryptoSimpleKeysMngrPemKeyAndCertsLoad(xmlSecKeysMngrPtr mngr, - const char* files, const char* pwd, - const char* name) { + const char* files, const char* pwd, + const char* name) { xmlSecKeyPtr key; int ret; @@ -112,11 +112,11 @@ xmlSecAppCryptoSimpleKeysMngrPemKeyAndCertsLoad(xmlSecKeysMngrPtr mngr, xmlSecAssert2(files != NULL, -1); /* first is the key file */ - key = xmlSecCryptoAppPemKeyLoad(files, pwd, NULL, NULL); + key = xmlSecCryptoAppKeyLoad(files, xmlSecKeyDataFormatPem, pwd, NULL, NULL); if(key == NULL) { xmlSecError(XMLSEC_ERRORS_HERE, NULL, - "xmlSecCryptoAppPemKeyLoad", + "xmlSecCryptoAppKeyLoad", XMLSEC_ERRORS_R_XMLSEC_FAILED, "uri=%s", xmlSecErrorsSafeString(files)); |