sync code with last fixes and improvements from OpenBSD

This commit is contained in:
purplerain 2023-07-30 17:58:45 +00:00
parent f960599e67
commit 691f97cc10
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
215 changed files with 1520 additions and 11518 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: sm2.h,v 1.2 2022/07/12 14:42:50 kn Exp $ */
/* $OpenBSD: sm2.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */
/*
* Copyright (c) 2017, 2019 Ribose Inc
*
@ -21,7 +21,6 @@
#include <openssl/opensslconf.h>
#include <openssl/ec.h>
#include <openssl/ecdsa.h>
#ifdef OPENSSL_NO_SM2
#error SM2 is disabled.

View file

@ -1,4 +1,4 @@
/* $OpenBSD: sm2_local.h,v 1.2 2022/11/26 17:23:18 tb Exp $ */
/* $OpenBSD: sm2_local.h,v 1.3 2023/07/28 15:50:33 tb Exp $ */
/*
* Copyright (c) 2017, 2019 Ribose Inc
*
@ -19,7 +19,6 @@
#define HEADER_SM2_LOCAL_H
#include <openssl/ec.h>
#include <openssl/ecdsa.h>
__BEGIN_HIDDEN_DECLS