• Simon Butcher's avatar
    Add extra compilation conditions to gen_key.c #559 · 604d399a
    Simon Butcher authored
    The sample application programs/pkey/gen_key.c uses the library function
    mbedtls_pk_write_key_pem() which is dependent on the configuration option
    MBEDTLS_PEM_WRITE_C. If the option isn't defined the build breaks.
    
    This change adds the compilation condition MBEDTLS_PEM_WRITE_C to the gen_key.c
    sample application.
    604d399a