projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have tincctl act as a shell when no command is given.
[tinc]
/
src
/
openssl
/
ecdsagen.c
diff --git
a/src/openssl/ecdsagen.c
b/src/openssl/ecdsagen.c
index
8761f26
..
883c77e
100644
(file)
--- a/
src/openssl/ecdsagen.c
+++ b/
src/openssl/ecdsagen.c
@@
-1,6
+1,6
@@
/*
ecdsagen.c -- ECDSA key generation and export
/*
ecdsagen.c -- ECDSA key generation and export
- Copyright (C) 20
08
Guus Sliepen <guus@tinc-vpn.org>
+ Copyright (C) 20
11
Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-67,7
+67,7
@@
char *ecdsa_get_base64_public_key(ecdsa_t *ecdsa) {
int len = i2o_ECPublicKey(*ecdsa, &pubkey);
char *base64 = malloc(len * 4 / 3 + 5);
int len = i2o_ECPublicKey(*ecdsa, &pubkey);
char *base64 = malloc(len * 4 / 3 + 5);
- b64encode(pubkey, base64, len);
+ b64encode(
(char *)
pubkey, base64, len);
free(pubkey);
free(pubkey);