Drop unnecessary v2 namespace qualifications
Change-Id: I6358bac6860ca8f2e9cdbd00bb2a929e3af5b2da
diff --git a/tools/ndnsec/sign-req.cpp b/tools/ndnsec/sign-req.cpp
index f9f97e9..3548228 100644
--- a/tools/ndnsec/sign-req.cpp
+++ b/tools/ndnsec/sign-req.cpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2013-2020 Regents of the University of California.
+ * Copyright (c) 2013-2021 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
@@ -69,7 +69,7 @@
return 2;
}
- security::v2::KeyChain keyChain;
+ KeyChain keyChain;
security::Identity identity;
security::Key key;
@@ -78,12 +78,12 @@
key = identity.getDefaultKey();
}
else {
- identity = keyChain.getPib().getIdentity(security::v2::extractIdentityFromKeyName(name));
+ identity = keyChain.getPib().getIdentity(security::extractIdentityFromKeyName(name));
key = identity.getKey(name);
}
// Create signing request (similar to self-signed certificate)
- security::v2::Certificate certificate;
+ security::Certificate certificate;
// set name
Name certificateName = key.getName();