summaryrefslogtreecommitdiff
path: root/lib/libcrypto/sm2
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2022-07-12 14:42:51 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2022-07-12 14:42:51 +0000
commitcb545bdb9e9732090829cbefd1cbf85301af2f3b (patch)
treec708e3c1940869f3bbe3116ac8710b77874a30b9 /lib/libcrypto/sm2
parentbf4bbc3d95ca8af394bd3a9bb5899ff4c87d2af5 (diff)
Remove mkerr.pl remnants from LibreSSL
This script is not used at all and files are edited by hand instead. Thus remove misleading comments incl. the obsolete script/config. Feedback OK jsing tb
Diffstat (limited to 'lib/libcrypto/sm2')
-rw-r--r--lib/libcrypto/sm2/sm2.h6
-rw-r--r--lib/libcrypto/sm2/sm2_err.c3
2 files changed, 2 insertions, 7 deletions
diff --git a/lib/libcrypto/sm2/sm2.h b/lib/libcrypto/sm2/sm2.h
index 74d1464452c..dee75eb68b4 100644
--- a/lib/libcrypto/sm2/sm2.h
+++ b/lib/libcrypto/sm2/sm2.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sm2.h,v 1.1 2021/08/18 16:04:32 tb Exp $ */
+/* $OpenBSD: sm2.h,v 1.2 2022/07/12 14:42:50 kn Exp $ */
/*
* Copyright (c) 2017, 2019 Ribose Inc
*
@@ -59,10 +59,6 @@ int SM2_decrypt(const EC_KEY *key, const EVP_MD *digest,
const uint8_t *ciphertext, size_t ciphertext_len, uint8_t *ptext_buf,
size_t *ptext_len);
-/* BEGIN ERROR CODES */
-/* The following lines are auto generated by the script mkerr.pl. Any changes
- * made after this point may be overwritten when the script is next run.
- */
void ERR_load_SM2_strings(void);
/* Error codes for the SM2 functions. */
diff --git a/lib/libcrypto/sm2/sm2_err.c b/lib/libcrypto/sm2/sm2_err.c
index d780ef8e322..a7dc1e0d9e6 100644
--- a/lib/libcrypto/sm2/sm2_err.c
+++ b/lib/libcrypto/sm2/sm2_err.c
@@ -1,6 +1,5 @@
-/* $OpenBSD: sm2_err.c,v 1.1 2021/08/18 16:04:32 tb Exp $ */
+/* $OpenBSD: sm2_err.c,v 1.2 2022/07/12 14:42:50 kn Exp $ */
/*
- * Generated by util/mkerr.pl DO NOT EDIT
* Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use