summaryrefslogtreecommitdiff
path: root/test/evp_pkey_ctx_new_from_name.c
blob: 24063ea05ea59c50bbd7c502c2c0aa47e0999c50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <openssl/ec.h>
#include <openssl/evp.h>
#include <openssl/err.h>

int main(int argc, char *argv[])
{
    EVP_PKEY_CTX *pctx = NULL;

    pctx = EVP_PKEY_CTX_new_from_name(NULL, "NO_SUCH_ALGORITHM", NULL);
    EVP_PKEY_CTX_free(pctx);

    return 0;
}