[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am building Nginx application with openssl-3.0.0, i have added below code in main function of nginx application to load fips provider,

  OSSL_PROVIDER *fips;
       OSSL_PROVIDER *base;

       fips = OSSL_PROVIDER_load(NULL, "fips");
       if (fips == NULL) {
           printf("Failed to load FIPS provider\n");
           exit(EXIT_FAILURE);
       }
       base = OSSL_PROVIDER_load(NULL, "base");
       if (base == NULL) {
           OSSL_PROVIDER_unload(fips);
           printf("Failed to load base provider\n");
           exit(EXIT_FAILURE);
       }

but when I start the application it's giving Failed to load FIPS provider error , with initial debugging I found SELF_TEST_post is failing in below code st->module_checksum_data in null and returning  error.

    if (st == NULL
            || st->module_checksum_data == NULL) {
        ERR_raise(ERR_LIB_PROV, PROV_R_MISSING_CONFIG_DATA);
        goto end;
    }

Anything I am missing here?

Regards,
Nagarjun




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux