diff options
author | Adam Langley <agl@google.com> | 2015-11-05 01:05:00 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-11-05 23:12:45 +0300 |
commit | 5f88999a1edd11d8b5e8a72a627a5714c95373cf (patch) | |
tree | f8b11cc4b02f96b596a72247d08b8a88426dbcd0 /include/openssl/obj.h | |
parent | e57a19203fca0cfe413ad23b08bfce4f8fd59023 (diff) |
Fix up several comments and detect problems in the future.
This change fixes up several comments (many of which were spotted by
Kenny Root) and also changes doc.go to detect cases where comments don't
start with the correct word. (This is a common error.)
Since we have docs builders now, these errors will be found
automatically in the future.
Change-Id: I58c6dd4266bf3bd4ec748763c8762b1a67ae5ab3
Reviewed-on: https://boringssl-review.googlesource.com/6440
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/obj.h')
-rw-r--r-- | include/openssl/obj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/obj.h b/include/openssl/obj.h index 956bbe94..32a48948 100644 --- a/include/openssl/obj.h +++ b/include/openssl/obj.h @@ -125,7 +125,7 @@ OPENSSL_EXPORT const ASN1_OBJECT *OBJ_nid2obj(int nid); /* OBJ_nid2sn returns the short name for |nid|, or NULL if |nid| is unknown. */ OPENSSL_EXPORT const char *OBJ_nid2sn(int nid); -/* OBJ_nid2sn returns the long name for |nid|, or NULL if |nid| is unknown. */ +/* OBJ_nid2ln returns the long name for |nid|, or NULL if |nid| is unknown. */ OPENSSL_EXPORT const char *OBJ_nid2ln(int nid); /* OBJ_nid2cbb writes |nid| as an ASN.1 OBJECT IDENTIFIER to |out|. It returns |