Extract the add-or-replace-keypin logic into a new function
commitefea1e904a17450fe9916a0032680f752bd40bc2
authorNick Mathewson <nickm@torproject.org>
Wed, 23 Sep 2015 15:07:17 +0000 (23 11:07 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 23 Sep 2015 15:07:17 +0000 (23 11:07 -0400)
treec90346fd76dfcb8b84827d47ac2e8a3a32a716ac
parentc5e87e33c7a3bf0f3d6b289814d303bcb4c63fe2
Extract the add-or-replace-keypin logic into a new function

We're about to need to call it in another place too.
src/or/keypin.c