diff options
author | Nils Larsch <nils@openssl.org> | 2006-12-11 22:35:51 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-12-11 22:35:51 +0000 |
commit | 91b73acb19653ab586b3fb66258b6892444050ec (patch) | |
tree | b35d817dd1e233a94aca7bb3bb0630d4914b52dd /crypto/x509/x509_set.c | |
parent | 87d3af6475d663b317f6f5b57666cd70b327650f (diff) | |
download | openssl-91b73acb19653ab586b3fb66258b6892444050ec.tar.gz |
use const ASN1_TIME *
Diffstat (limited to 'crypto/x509/x509_set.c')
-rw-r--r-- | crypto/x509/x509_set.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509_set.c b/crypto/x509/x509_set.c index aaf61ca062..4b94fc5847 100644 --- a/crypto/x509/x509_set.c +++ b/crypto/x509/x509_set.c @@ -104,7 +104,7 @@ int X509_set_subject_name(X509 *x, X509_NAME *name) return(X509_NAME_set(&x->cert_info->subject,name)); } -int X509_set_notBefore(X509 *x, ASN1_TIME *tm) +int X509_set_notBefore(X509 *x, const ASN1_TIME *tm) { ASN1_TIME *in; @@ -122,7 +122,7 @@ int X509_set_notBefore(X509 *x, ASN1_TIME *tm) return(in != NULL); } -int X509_set_notAfter(X509 *x, ASN1_TIME *tm) +int X509_set_notAfter(X509 *x, const ASN1_TIME *tm) { ASN1_TIME *in; |