diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-04 12:01:58 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-08-04 12:01:58 +0000 |
commit | a0d4edd24e26883edba083f07cf1fb4cbaaf36c2 (patch) | |
tree | e6cb3f4ad58b2d9fc2dec73b2869bb7e48322bc2 /lib/gnutls_cert.c | |
parent | 1e32c5bffd69edc51d93ab6bd4871823c4024deb (diff) | |
download | gnutls-a0d4edd24e26883edba083f07cf1fb4cbaaf36c2.tar.gz |
minor fixes
Diffstat (limited to 'lib/gnutls_cert.c')
-rw-r--r-- | lib/gnutls_cert.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/gnutls_cert.c b/lib/gnutls_cert.c index e2886e05e9..6fa1522504 100644 --- a/lib/gnutls_cert.c +++ b/lib/gnutls_cert.c @@ -599,6 +599,11 @@ static int _parse_extension( gnutls_cert* cert, char* extnID, char* critical, ch return 0; } + if (strcmp( extnID, "2 5 29 15")==0) { /* Key Usage */ + cert->KeyUsage = extnValue[0]; + return 0; + } + if (strcmp( extnID, "2 5 29 19")==0) { /* Basic Constraints */ /* we don't use it */ return 0; |