template for engine registry; refs #11
This commit is contained in:
		| @@ -25,7 +25,7 @@ class TestEngine: virtual public openssl::Engine { | ||||
|  | ||||
| int main(int, char**) { | ||||
|   { | ||||
|     openssl::RegisterEngine testEngine(new TestEngine); | ||||
|     openssl::RegisterEngine<> testEngine(new TestEngine); | ||||
|      | ||||
|     for (ENGINE* e(ENGINE_get_first()); e; e = ENGINE_get_next(e)) { | ||||
|       std::cout<<"Found Engine: "<<ENGINE_get_id(e)<<std::endl; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user