Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2014 12:00:02 GMT
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/189762: security/tinyca can&#39;t open saved CA
Message-ID:  <201405131200.s4DC02wv075360@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/189762; it has been noted by GNATS.

From: Pavel Timofeev <timp87@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/189762: security/tinyca can&#39;t open saved CA
Date: Tue, 13 May 2014 15:52:21 +0400

 --bcaec547c08d4de21004f946b273
 Content-Type: text/plain; charset=UTF-8
 
 Also I took another patches from debian.
 Everything seems to work.
 
 --bcaec547c08d4de21004f946b273
 Content-Type: text/plain; charset=US-ASCII; name="patch-lib_GUIX509_browser.pm.txt"
 Content-Disposition: attachment; filename="patch-lib_GUIX509_browser.pm.txt"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_hv552lc20
 
 LS0tIGxpYi9HVUkvWDUwOV9icm93c2VyLnBtLm9yaWcKKysrIGxpYi9HVUkvWDUwOV9icm93c2Vy
 LnBtCkBAIC02MjQsNyArNjI0LDcgQEAKIAogICAkZGlyID0gJHNlbGYtPnsnYWN0ZGlyJ307CiAg
 ICMgY3V0IG9mZiB0aGUgbGFzdCBkaXJlY3RvcnkgbmFtZSB0byBwcm92aWRlIHRoZSBjYS1kaXJl
 Y3RvcnkKLSAgJGRpciA9fiBzL1wvY2VydHN8XC9yZXF8XC9rZXlzJC8vOworICAkZGlyID1+IHMv
 KFwvY2VydHN8XC9yZXF8XC9rZXlzKSQvLzsKICAgcmV0dXJuKCRkaXIpOwogfQogCg==
 --bcaec547c08d4de21004f946b273
 Content-Type: text/plain; charset=US-ASCII; name="patch-libGUI.pm.txt"
 Content-Disposition: attachment; filename="patch-libGUI.pm.txt"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_hv5531pp1
 
 LS0tIGxpYi9HVU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dmFsdWVzeyR2YWx1ZX07CiAgICAgICBteSAka2V5ID0gR3RrMjo6
 UmFkaW9CdXR0b24tPm5ldygkcHJldmlvdXNfa2V5LCAkZGlzcGxheV9uYW1lKTsKLSAgICAgICRr
 ZXktPnNldF9hY3RpdmUoMSkgaWYoZGVmaW5lZCgkJHZhcikgJiYgJCR2YXIgZXEgJHZhbHVlKTsK
 ICAgICAgICRrZXktPnNpZ25hbF9jb25uZWN0KCd0b2dnbGVkJyA9PgogCQkJICAgc3Vie0dVSTo6
 Q0FMTEJBQ0s6OnRvZ2dsZV90b192YXIoJGtleSwgJHZhciwgJHZhbHVlKX0pOworICAgICAgJGtl
 eS0+c2V0X2FjdGl2ZSgxKSBpZihkZWZpbmVkKCQkdmFyKSAmJiAkJHZhciBlcSAkdmFsdWUpOwog
 ICAgICAgJHJhZGlvYm94LT5hZGQoJGtleSk7CiAgICAgICAkcHJldmlvdXNfa2V5ID0gJGtleTsK
 ICAgIH0K
 --bcaec547c08d4de21004f946b273--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405131200.s4DC02wv075360>