gpg: Print ownertrust in TOFU+PGP trust model.
[gnupg.git] / scd / atr.c
index b8668a4..5b94758 100644 (file)
--- a/scd/atr.c
+++ b/scd/atr.c
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <assert.h>
 
-#include "../common/estream.h"
+#include <gpg-error.h>
 #include "../common/logging.h"
 #include "atr.h"
 
@@ -50,7 +50,7 @@ atr_dump (const void *buffer, size_t buflen)
   unsigned char chksum;
   char *result;
 
-  fp = es_fopenmem (0, "rwb");
+  fp = es_fopenmem (0, "rwb,samethread");
   if (!fp)
     return NULL;