From 7c4b94f6e495bfe0dc498470256923923fc6b20f Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Sun, 30 Sep 2012 17:02:18 -0400 Subject: [PATCH] adding put to sha1 encoder --- include/fc/sha1.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fc/sha1.hpp b/include/fc/sha1.hpp index 30204b8..d4459b1 100644 --- a/include/fc/sha1.hpp +++ b/include/fc/sha1.hpp @@ -29,6 +29,7 @@ namespace fc { ~encoder(); void write( const char* d, uint32_t dlen ); + void put( char c ) { write( &c, 1 ); } void reset(); sha1 result();