Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 598410 | Differences between
and this patch

Collapse All | Expand All

(-)libp11-0.4.9/src/p11_rsa.c (-7 / +11 lines)
Lines 402-408 Link Here
402
#endif
402
#endif
403
}
403
}
404
404
405
#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER)
405
#if OPENSSL_VERSION_NUMBER < 0x10100005L || LIBRESSL_VERSION_NUMBER < 0x2080000L
406
406
407
static RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth)
407
static RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth)
408
{
408
{
Lines 428-439 Link Here
428
	return 1;
428
	return 1;
429
}
429
}
430
430
431
static int RSA_meth_set_flags(RSA_METHOD *meth, int flags)
432
{
433
	meth->flags = flags;
434
	return 1;
435
}
436
437
static int RSA_meth_set_priv_enc(RSA_METHOD *meth,
431
static int RSA_meth_set_priv_enc(RSA_METHOD *meth,
438
		int (*priv_enc) (int flen, const unsigned char *from,
432
		int (*priv_enc) (int flen, const unsigned char *from,
439
		unsigned char *to, RSA *rsa, int padding))
433
		unsigned char *to, RSA *rsa, int padding))
Lines 456-461 Link Here
456
	return 1;
450
	return 1;
457
}
451
}
458
452
453
#endif
454
455
#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER)
456
457
static int RSA_meth_set_flags(RSA_METHOD *meth, int flags)
458
{
459
	meth->flags = flags;
460
	return 1;
461
}
462
459
#endif
463
#endif
460
464
461
/*
465
/*

Return to bug 598410