diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-20 13:02:09 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-21 18:25:23 +0100 |
commit | 0b7347effee58f5a19e4724c4b277635727c20d8 (patch) | |
tree | 42e1e32ddf704a4c196fccefa13e45db007bb975 /crypto/asn1 | |
parent | bf932fbd4a2385496fa5e9363bf9280fc6fba0ad (diff) |
Add X509_getm_notBefore, X509_getm_notAfter
Add mutable versions of X509_get0_notBefore and X509_get0_notAfter.
Rename X509_SIG_get0_mutable to X509_SIG_getm.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/x_sig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/x_sig.c b/crypto/asn1/x_sig.c index 1e835cb191..e465cf2d4d 100644 --- a/crypto/asn1/x_sig.c +++ b/crypto/asn1/x_sig.c @@ -29,8 +29,8 @@ void X509_SIG_get0(const X509_SIG *sig, const X509_ALGOR **palg, *pdigest = sig->digest; } -void X509_SIG_get0_mutable(X509_SIG *sig, X509_ALGOR **palg, - ASN1_OCTET_STRING **pdigest) +void X509_SIG_getm(X509_SIG *sig, X509_ALGOR **palg, + ASN1_OCTET_STRING **pdigest) { if (palg) *palg = sig->algor; |