summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2018-09-01 16:23:15 +0000
committertb <>2018-09-01 16:23:15 +0000
commit032a3a2fcea899b2b2d4e0df7f5c241822442ac3 (patch)
treea411af24e65a1bb8337c171b72831ee9fad0d30b
parentf90cd5d40d643237c912638135cbf42119bccd5d (diff)
downloadopenbsd-032a3a2fcea899b2b2d4e0df7f5c241822442ac3.tar.gz
openbsd-032a3a2fcea899b2b2d4e0df7f5c241822442ac3.tar.bz2
openbsd-032a3a2fcea899b2b2d4e0df7f5c241822442ac3.zip
Tweak comment.
-rw-r--r--src/lib/libcrypto/ec/ec_asn1.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ec/ec_asn1.c b/src/lib/libcrypto/ec/ec_asn1.c
index 4b950dba80..f69dd023de 100644
--- a/src/lib/libcrypto/ec/ec_asn1.c
+++ b/src/lib/libcrypto/ec/ec_asn1.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_asn1.c,v 1.30 2018/07/15 16:27:39 tb Exp $ */ 1/* $OpenBSD: ec_asn1.c,v 1.31 2018/09/01 16:23:15 tb Exp $ */
2/* 2/*
3 * Written by Nils Larsch for the OpenSSL project. 3 * Written by Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -1564,10 +1564,7 @@ o2i_ECPublicKey(EC_KEY ** a, const unsigned char **in, long len)
1564 EC_KEY *ret = NULL; 1564 EC_KEY *ret = NULL;
1565 1565
1566 if (a == NULL || (*a) == NULL || (*a)->group == NULL) { 1566 if (a == NULL || (*a) == NULL || (*a)->group == NULL) {
1567 /* 1567 /* An EC_GROUP structure is necessary to set the public key. */
1568 * sorry, but a EC_GROUP-structur is necessary to set the
1569 * public key
1570 */
1571 ECerror(ERR_R_PASSED_NULL_PARAMETER); 1568 ECerror(ERR_R_PASSED_NULL_PARAMETER);
1572 return 0; 1569 return 0;
1573 } 1570 }