summaryrefslogtreecommitdiffstats
path: root/crypto/pem/pem_lib.c
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2009-06-07 19:56:18 +0000
committersimon <simon@FreeBSD.org>2009-06-07 19:56:18 +0000
commitfc5b6d55de4ea73602809deec0b965745f83a804 (patch)
tree873f9f63931a5d069bbcb053ea49eec4a92802dc /crypto/pem/pem_lib.c
parent212fba63d3a2fed2e6ca619035a42526db27a3b8 (diff)
downloadFreeBSD-src-fc5b6d55de4ea73602809deec0b965745f83a804.zip
FreeBSD-src-fc5b6d55de4ea73602809deec0b965745f83a804.tar.gz
Import OpenSSL 0.9.8k.
Diffstat (limited to 'crypto/pem/pem_lib.c')
-rw-r--r--crypto/pem/pem_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/pem/pem_lib.c b/crypto/pem/pem_lib.c
index 9bae4c8..cbafefe 100644
--- a/crypto/pem/pem_lib.c
+++ b/crypto/pem/pem_lib.c
@@ -216,6 +216,9 @@ static int check_pem(const char *nm, const char *name)
if(!strcmp(nm, PEM_STRING_X509) &&
!strcmp(name, PEM_STRING_PKCS7)) return 1;
+ if(!strcmp(nm, PEM_STRING_PKCS7_SIGNED) &&
+ !strcmp(name, PEM_STRING_PKCS7)) return 1;
+
return 0;
}
OpenPOWER on IntegriCloud