We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50586ce commit dbb5cf6Copy full SHA for dbb5cf6
1 file changed
client/SslCertificate.cpp
@@ -78,7 +78,7 @@ static QByteArray i2dDer(Arg arg)
78
QByteArray der;
79
if(!arg)
80
return der;
81
- der.resize(Func(arg, nullptr), 0);
+ der.resize(Func(arg, nullptr));
82
if(auto *p = (unsigned char*)der.data(); der.isEmpty() || Func(arg, &p) != der.size())
83
der.clear();
84
0 commit comments