TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A port of Mbed-TLS for the Classic Macintosh OS 7/8/9

86 点作者 DanAtC30 天前

6 条评论

mrpippy30 天前
I was previously maintaining an mbedTLS fork for classic&#x2F;Carbon Mac OS (<a href="https:&#x2F;&#x2F;github.com&#x2F;bslabs&#x2F;mbedtls">https:&#x2F;&#x2F;github.com&#x2F;bslabs&#x2F;mbedtls</a>) for use with libssh2, they were still keeping C89 compatibility at the time which was helpful.<p>Newer versions of CodeWarrior do support C99, but I can&#x27;t remember if Pro 6 (the last version with a 68k toolchain) does. My go-to was Pro 8, since it&#x27;s Carbonized you can run it natively on OS X (PPC or under Rosetta 1). It&#x27;s possible to take the Pro 6 68k tools and use them in Pro 8 as well: <a href="https:&#x2F;&#x2F;github.com&#x2F;macssh&#x2F;macssh&#x2F;wiki&#x2F;Using-CWPro6&#x27;s-68k-toolchain-with-CWPro8" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;macssh&#x2F;macssh&#x2F;wiki&#x2F;Using-CWPro6&#x27;s-68k-too...</a>
评论 #43654635 未加载
nxobject29 天前
As an aside, I empathize with the author’s struggles to insert files with resource forks with resource forks-oblivious git. What I’ve done before is use AppleDouble as a post-compilation step and git hook to separate resource forks into separate files and reconstruct them - it was included in A&#x2F;UX for precisely that reason.<p><a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;AppleSingle_and_AppleDouble_formats" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;AppleSingle_and_AppleDouble_...</a>
评论 #43655819 未加载
userbinator30 天前
Related: TLS 1.2 and 1.3 on Windows 3.1 <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36472854">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36472854</a>
system7rocks30 天前
This is sick. I know Classilla, our last somewhat modern web browser, was having issues with SSL&#x2F;TSL stuff at the end. Maybe this opens the door for some smart hero to revive it a bit.
评论 #43650735 未加载
phibz26 天前
&gt; That last bit -- addressing the path limitations -- is a big one. You know how you can write #include &quot;mbedtls&#x2F;aes.h&quot;, and the compiler will pull in code from the aes.h file that&#x27;s in the mbedtls folder? You can&#x27;t do that on a Mac! Or at least I couldn&#x27;t figure out how Codewarrior defines paths.<p>I believe you use colon as a path separator. At least that&#x27;s what I remember from working with CW back in the 90s.<p>I thought long long was 64bit on CW 4 on m68k. Was it not?
ranger_danger30 天前
This would have been really handy when I was porting my Matrix client to OS8&#x2F;9. Thanks
评论 #43651274 未加载