pkgsrc/sysutils/xentools48/patches/patch-stubdom_vtpmmgr_tpmrsa.h
bouyer 85b996c375 Add xenkerne48 and xentools48, version 4.8.0.
This includes stub domains support, but it should be considered
experimental at this time. Stub domains hangs with serial ports,
or more more than one virual disk (multiple virtual ethernet have not been
tested).
2017-03-30 09:15:09 +00:00

12 lines
471 B
C

$NetBSD: patch-stubdom_vtpmmgr_tpmrsa.h,v 1.1 2017/03/30 09:15:10 bouyer Exp $
--- stubdom/vtpmmgr/tpmrsa.h.orig 2017-03-28 16:12:14.000000000 +0200
+++ stubdom/vtpmmgr/tpmrsa.h 2017-03-28 16:12:26.000000000 +0200
@@ -62,7 +62,7 @@
unsigned char *output );
/* free tpmrsa key */
-inline void tpmrsa_free( tpmrsa_context *ctx ) {
+static inline void tpmrsa_free( tpmrsa_context *ctx ) {
mpi_free( &ctx->RN ); mpi_free( &ctx->E ); mpi_free( &ctx->N );
}