typo ANS1 -> ASN1

CLA: trivial

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7857)
This commit is contained in:
nxtstep 2018-12-10 10:39:24 +01:00 committed by Pauli
parent 72818ef005
commit 275a7b9e5e
3 changed files with 3 additions and 3 deletions

View file

@ -11496,7 +11496,7 @@ des-cbc 3624.96k 5258.21k 5530.91k 5624.30k 5628.26k
(still largely untested) (still largely untested)
[Bodo Moeller] [Bodo Moeller]
*) New function ANS1_tag2str() to convert an ASN1 tag to a descriptive *) New function ASN1_tag2str() to convert an ASN1 tag to a descriptive
ASCII string. This was handled independently in various places before. ASCII string. This was handled independently in various places before.
[Steve Henson] [Steve Henson]

View file

@ -16,7 +16,7 @@
/* This is the primary function used to parse ASN1_UTCTIME */ /* This is the primary function used to parse ASN1_UTCTIME */
int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d) int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d)
{ {
/* wrapper around ans1_time_to_tm */ /* wrapper around asn1_time_to_tm */
if (d->type != V_ASN1_UTCTIME) if (d->type != V_ASN1_UTCTIME)
return 0; return 0;
return asn1_time_to_tm(tm, d); return asn1_time_to_tm(tm, d);

View file

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html * https://www.openssl.org/source/license.html
*/ */
/* Tests for the ANS1_STRING_TABLE_* functions */ /* Tests for the ASN1_STRING_TABLE_* functions */
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>