projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an evil cast, because POSIX/SUSv2 define connect(2) require
[oweals/openssl.git]
/
crypto
/
evp
/
p_lib.c
diff --git
a/crypto/evp/p_lib.c
b/crypto/evp/p_lib.c
index 5dcbbc84a5d150b6ea63f927a42a24946991b8f7..ba95137a20be46c5f9e507d07f0038bc138a4278 100644
(file)
--- a/
crypto/evp/p_lib.c
+++ b/
crypto/evp/p_lib.c
@@
-119,7
+119,7
@@
int EVP_PKEY_copy_parameters(EVP_PKEY *to, EVP_PKEY *from)
if (EVP_PKEY_missing_parameters(from))
{
if (EVP_PKEY_missing_parameters(from))
{
- EVPerr(EVP_F_EVP_PKEY_COPY_PARAMETERS,EVP_R_MISSING_PAR
MA
TERS);
+ EVPerr(EVP_F_EVP_PKEY_COPY_PARAMETERS,EVP_R_MISSING_PAR
AME
TERS);
goto err;
}
#ifndef NO_DSA
goto err;
}
#ifndef NO_DSA
@@
-302,7
+302,7
@@
void EVP_PKEY_free(EVP_PKEY *x)
}
#endif
EVP_PKEY_free_it(x);
}
#endif
EVP_PKEY_free_it(x);
- Free(
(char *)
x);
+ Free(x);
}
static void EVP_PKEY_free_it(EVP_PKEY *x)
}
static void EVP_PKEY_free_it(EVP_PKEY *x)