Project

General

Profile

Actions

Task #4302

closed

Unused default parameter in CertificateRequest

Added by Anonymous about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Low
Category:
Security
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

The CertificateRequest constructor has a default parameter requesterFaceId:
https://github.com/named-data/ndn-cxx/blob/7e7214103e24dd2b891d6912552d0defb89e2c48/src/security/v2/certificate-request.hpp#L43

CertificateRequest(const Interest& interest, uint64_t requesterFaceId = 0)

requesterFaceId is unused and can be removed. (This is a low priority issue I noticed while porting the code.)

Actions

Also available in: Atom PDF