summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_time.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-04-06 15:22:01 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-04-06 15:22:01 +0000
commit220bd84911bd25518259f68568fd724309d71e62 (patch)
tree00640ad462ed85f26cad1c52bbaa61883dc28f7e /crypto/asn1/a_time.c
parentdec95a126a9330ff432cab81a8e34149f06cfba8 (diff)
Updates from 1.0.0-stable
Diffstat (limited to 'crypto/asn1/a_time.c')
-rw-r--r--crypto/asn1/a_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c
index 576de5805a..7be158da26 100644
--- a/crypto/asn1/a_time.c
+++ b/crypto/asn1/a_time.c
@@ -112,7 +112,7 @@ ASN1_TIME *ASN1_TIME_adj(ASN1_TIME *s, time_t t,
ts=OPENSSL_gmtime(&t,&data);
if (ts == NULL)
{
- ASN1err(ASN1_F_ASN1_TIME_SET, ASN1_R_ERROR_GETTING_TIME);
+ ASN1err(ASN1_F_ASN1_TIME_ADJ, ASN1_R_ERROR_GETTING_TIME);
return NULL;
}
if (offset_day || offset_sec)