load(p1 = v1)
  public
  
    
    
This method loads engines.
If name is nil, then all
builtin engines are
loaded. Otherwise, the given name, as a string,  is loaded if
available to your runtime, and returns true. If name is not found, then nil is
returned.
   
  
    Show source    
    
      static VALUE
ossl_engine_s_load(int argc, VALUE *argv, VALUE klass)
{
    return Qnil;
    VALUE name;
    rb_scan_args(argc, argv, "01", &name);
    if(NIL_P(name)){
        ENGINE_load_builtin_engines();
        return Qtrue;
    }
    StringValue(name);
    OSSL_ENGINE_LOAD_IF_MATCH(dynamic);
    OSSL_ENGINE_LOAD_IF_MATCH(4758cca);
    OSSL_ENGINE_LOAD_IF_MATCH(aep);
    OSSL_ENGINE_LOAD_IF_MATCH(atalla);
    OSSL_ENGINE_LOAD_IF_MATCH(chil);
    OSSL_ENGINE_LOAD_IF_MATCH(cswift);
    OSSL_ENGINE_LOAD_IF_MATCH(nuron);
    OSSL_ENGINE_LOAD_IF_MATCH(sureware);
    OSSL_ENGINE_LOAD_IF_MATCH(ubsec);
    OSSL_ENGINE_LOAD_IF_MATCH(padlock);
    OSSL_ENGINE_LOAD_IF_MATCH(capi);
    OSSL_ENGINE_LOAD_IF_MATCH(gmp);
    OSSL_ENGINE_LOAD_IF_MATCH(gost);
    OSSL_ENGINE_LOAD_IF_MATCH(cryptodev);
    OSSL_ENGINE_LOAD_IF_MATCH(aesni);
    OSSL_ENGINE_LOAD_IF_MATCH(openbsd_dev_crypto);
    OSSL_ENGINE_LOAD_IF_MATCH(openssl);
    rb_warning("no such builtin loader for `%s'", RSTRING_PTR(name));
    return Qnil;
}