mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
Merge pull request #1649 from fnMrRice/master
Fix link error when link as static library with OpenSSL
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <gmssl/error.h>
|
#include <gmssl/error.h>
|
||||||
|
|
||||||
int OPENSSL_hexchar2int(unsigned char c)
|
static int OPENSSL_hexchar2int(unsigned char c)
|
||||||
{
|
{
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case '0':
|
case '0':
|
||||||
@@ -55,7 +55,7 @@ int OPENSSL_hexchar2int(unsigned char c)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned char *OPENSSL_hexstr2buf(const char *str, size_t *len)
|
static unsigned char *OPENSSL_hexstr2buf(const char *str, size_t *len)
|
||||||
{
|
{
|
||||||
unsigned char *hexbuf, *q;
|
unsigned char *hexbuf, *q;
|
||||||
unsigned char ch, cl;
|
unsigned char ch, cl;
|
||||||
|
|||||||
Reference in New Issue
Block a user