-/* $OpenBSD: evp_ecx_test.c,v 1.3 2022/11/23 07:25:01 tb Exp $ */
+/* $OpenBSD: evp_ecx_test.c,v 1.4 2022/11/23 22:52:25 tb Exp $ */
/*
* Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
*
goto failure;
}
- BIO_reset(bio);
+ (void)BIO_reset(bio);
if (!PEM_write_bio_PUBKEY(bio, pkey)) {
fprintf(stderr, "FAIL: failed to write ED25519 public to PEM\n");
goto failure;
fprintf(stderr, "FAIL: PKEY from raw public key failed");
goto failure;
}
- BIO_reset(bio);
+ (void)BIO_reset(bio);
if (!PEM_write_bio_PUBKEY(bio, pkey)) {
fprintf(stderr, "FAIL: failed to write ED25519 public to PEM\n");
goto failure;
goto failure;
}
- BIO_reset(bio);
+ (void)BIO_reset(bio);
if (!PEM_write_bio_PUBKEY(bio, pkey)) {
fprintf(stderr, "FAIL: failed to write X25519 public to PEM\n");
goto failure;
fprintf(stderr, "FAIL: PKEY from raw public key failed");
goto failure;
}
- BIO_reset(bio);
+ (void)BIO_reset(bio);
if (!PEM_write_bio_PUBKEY(bio, pkey)) {
fprintf(stderr, "FAIL: failed to write X25519 public to PEM\n");
goto failure;