mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
fixed libtools portability bug, fixed arc4random() portability,
fixed htobe32 and be32toh portability, fixed error handling in main(), fixed invalid type parameter for randomart image in pcppubkey_printshortinfo(), fixed configure search for libsodium.
This commit is contained in:
@@ -235,7 +235,7 @@ void pcppubkey_printshortinfo(pcp_pubkey_t *key) {
|
||||
int i;
|
||||
printf(" Key-ID: 0x%s\n", key->id);
|
||||
printf(" Owner: %s\n", key->owner);
|
||||
char *r = pcpkey_get_art(key);
|
||||
char *r = pcppubkey_get_art(key);
|
||||
printf(" Random Art ID: ");
|
||||
for (i=0; i<strlen(r); ++i) {
|
||||
if(r[i] == '\n') {
|
||||
|
||||
Reference in New Issue
Block a user