1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
|
# File 'ext/gpgme/gpgme_n.c', line 1902
static VALUE
rb_s_gpgme_op_decrypt_verify_start (VALUE dummy, VALUE vctx, VALUE vcipher,
VALUE vplain)
{
gpgme_ctx_t ctx;
gpgme_data_t cipher, plain;
gpgme_error_t err;
CHECK_KEYLIST_NOT_IN_PROGRESS(vctx);
UNWRAP_GPGME_CTX(vctx, ctx);
if (!ctx)
rb_raise (rb_eArgError, "released ctx");
UNWRAP_GPGME_DATA(vcipher, cipher);
UNWRAP_GPGME_DATA(vplain, plain);
err = gpgme_op_decrypt_verify_start (ctx, cipher, plain);
return LONG2NUM(err);
}
|