diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-03-15 17:26:04 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-03-24 18:35:58 +0100 |
commit | 2e430277578d3dd586cd005682a54a59d6158146 (patch) | |
tree | 4fa3771298d408499873043a3f37f61b2c7746d0 /engines | |
parent | Configuration file examples. (diff) | |
download | openssl-2e430277578d3dd586cd005682a54a59d6158146.tar.xz openssl-2e430277578d3dd586cd005682a54a59d6158146.zip |
make ASN1_OBJECT opaque
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_4758cca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/e_4758cca.c b/engines/e_4758cca.c index 5f771986cf..3b593c79c5 100644 --- a/engines/e_4758cca.c +++ b/engines/e_4758cca.c @@ -641,7 +641,7 @@ static int cca_rsa_verify(int type, const unsigned char *m, return 0; } - if (!algorithm.algorithm->length) { + if (!OBJ_length(algorithm.algorithm)) { CCA4758err(CCA4758_F_CCA_RSA_VERIFY, CCA4758_R_ASN1_OID_UNKNOWN_FOR_MD); return 0; @@ -754,7 +754,7 @@ static int cca_rsa_sign(int type, const unsigned char *m, unsigned int m_len, return 0; } - if (!algorithm.algorithm->length) { + if (!OBJ_length(algorithm.algorithm)) { CCA4758err(CCA4758_F_CCA_RSA_SIGN, CCA4758_R_ASN1_OID_UNKNOWN_FOR_MD); return 0; |