projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make depend
[openssl.git]
/
crypto
/
x509
/
x509type.c
diff --git
a/crypto/x509/x509type.c
b/crypto/x509/x509type.c
index 232ba9bc79049826dce6153cdf8fe43a9ac61a08..8332d9e9d46f30edf87a16dff618e60b98f78336 100644
(file)
--- a/
crypto/x509/x509type.c
+++ b/
crypto/x509/x509type.c
@@
-100,7
+100,7
@@
int X509_certificate_type(X509 *x, EVP_PKEY *pkey)
break;
}
- i =
OBJ_obj2nid(x->sig_alg->algorithm
);
+ i =
X509_get_signature_nid(x
);
if (i && OBJ_find_sigid_algs(i, NULL, &i)) {
switch (i) {